import request from '@/utils/request'

export function getSalemanStat(params) {
  return request({
    url: '/api/Personal/SalemanStas/GetSalemanStat',
    method: 'get',
    params
  })
}

export function getHosterTeam() {
  return request({
    url: '/api/Personal/SalemanStas/GetHosterTeam',
    method: 'get',
  })
}

export function getHosterCaseStat(params) {
  return request({
    url: '/api/Personal/SalemanStas/GetHosterCaseStat',
    method: 'get',
    params
  })
}

export function getHosterLossFeeStat(params) {
  return request({
    url: '/api/Personal/SalemanStas/GetHosterLossFeeStat',
    method: 'get',
    params
  })
}

export function getCases(params) {
  return request({
    url: '/api/Personal/SalemanStas/GetCases',
    method: 'get',
    params
  })
}

export function getHosterUnReturnStat(params) {
  return request({
    url: '/api/Personal/SalemanStas/GetHosterUnReturnStat',
    method: 'get',
    params
  })
}

export function getHosterUnReturnMonthStat(data) {
  return request({
    url: '/api/Personal/SalemanStas/GetHosterUnReturnMonthStat',
    method: 'post',
    data
  })
}

export function getUnReturnBills(data) {
  return request({
    url: '/api/Personal/SalemanStas/GetUnReturnBills',
    method: 'post',
    data
  })
}

export function getUnReturnCases(data) {
  return request({
    url: '/api/Personal/SalemanStas/GetUnReturnCases',
    method: 'post',
    data
  })
}

export function getHosterReturnStat(params) {
  return request({
    url: '/api/Personal/SalemanStas/GetHosterReturnStat',
    method: 'get',
    params
  })
}

export function getHosterReturnMonthStat(data) {
  return request({
    url: '/api/Personal/SalemanStas/GetHosterReturnMonthStat',
    method: 'post',
    data
  })
}

export function getReturns(data) {
  return request({
    url: '/api/Personal/SalemanStas/GetReturns',
    method: 'post',
    data
  })
}

export function getHosterUnBillStat(params) {
  return request({
    url: '/api/Personal/SalemanStas/GetHosterUnBillStat',
    method: 'get',
    params
  })
}

export function getSalemanUnReturnBillStat(data) {
  return request({
    url: '/api/Personal/SalemanStas/GetSalemanUnReturnBillStat',
    method: 'post',
    data
  })
}

export function getSalemanBillReturnStat(params) {
  return request({
    url: '/api/Personal/SalemanStas/GetSalemanBillReturnStat',
    method: 'get',
    params
  })
}

export function getUnBillCases(data) {
  return request({
    url: '/api/Personal/SalemanStas/GetUnBillCases',
    method: 'post',
    data
  })
}

export function getUnBillCaseStat(data) {
  return request({
    url: '/api/Personal/SalemanStas/GetUnBillCaseStat',
    method: 'post',
    data
  })
}

export function getIncomeStat(data) {
  return request({
    url: '/api/Personal/SalemanStas/GetIncomeStat',
    method: 'post',
    data
  })
}

export function getIncomes(data) {
  return request({
    url: '/api/Personal/SalemanStas/GetIncomes',
    method: 'post',
    data
  })
}

export function getHosterIncomeStat(params) {
  return request({
    url: '/api/Personal/SalemanStas/GetHosterIncomeStat',
    method: 'get',
    params
  })
}
